home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-12-30 | 1.3 KB | 57 lines | [TEXT/R*ch] |
- (* build5.sml *)
-
- (* building the system *)
-
- (*use "lib.sml";
- use "interp5.sml";
- use "parser.sml";*)
-
- structure List = List()
- and Print = Print();
-
- structure Expression=
- Expression(structure Print= Print
- structure List = List);
-
- structure Parser= Parser(Expression);
-
- structure Env = Environment();
-
- structure Value = Value(structure Env= Env
- structure Exp = Expression
- structure Print= Print);
-
- structure Evaluator=
- Evaluator(structure Expression= Expression
- structure Env = Env
- structure Value = Value);
-
-
-
- structure Ty = Type(structure List = List
- structure Print = Print);
-
- structure Unify = Unify(Ty);
-
- structure TE =
- TypeEnv(structure Type = Ty
- structure E = Environment()
- structure List = List);
-
-
- structure TyCh=
- TypeChecker(structure Ex = Expression
- structure Ty = Ty
- structure Unify= Unify
- structure TyEnv = TE
- structure List = List);
-
- structure Interpreter=
- Interpreter(structure Ty= Ty
- structure Value = Value
- structure Parser = Parser
- structure TyCh = TyCh
- structure Evaluator = Evaluator);
-
- open Interpreter;
-